'use strict';

module.exports = app => {
  class HomeController extends app.Controller {
    * index(ctx) {
      yield ctx.render('lianghui/list',{
          user:this.ctx.session.user,
          jssdk:this.ctx.session.jssdk,
          wechat:this.ctx.session.wechat,
      })
    }
      * list(ctx) {
          yield ctx.render('lianghui/list',{
              user:this.ctx.session.user,
              jssdk:this.ctx.session.jssdk,
              wechat:this.ctx.session.wechat,
          })
      }
  }
  return HomeController;
};
